package com.example.sfm.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(name = "AnnouncementVo", description = "公告视图对象，包含公告的基本信息")
public class AnnouncementVo {
    @Schema(description = "公告的唯一标识 ID", example = "1")
    private Long id;
    @Schema(description = "公告的标题", example = "重要通知")
    private String title;
    @Schema(description = "公告的内容", example = "请各位同学按时参加活动")
    private String content;
    @Schema(description = "公告作者的 ID", example = "1001")
    private Long authorId;
}